package com.ruoyi.system.service;

import com.ruoyi.system.domain.CompanyInfo;
import com.ruoyi.system.domain.InstitutionInfo;
import com.ruoyi.system.domain.SysConfig;
import com.ruoyi.system.domain.SysUser;

import java.util.List;

public interface IRegisterUserService {

    /**
     * 查询所有注册用户
     */
    public List<CompanyInfo> selectAllRegisterUser( );


    /**
     * 查询所有注册用户
     */
    public List<String> selectAllRegisterCompanyList( );


    /**
     * 根据条件分页查询用户列表
     *
     * @param companyInfo 用户信息
     * @return 用户信息集合信息
     */
    public List<CompanyInfo> selectUserList(CompanyInfo companyInfo);


    /**
     * 根据条件分页查询用户列表
     *
     * @param companyInfo 用户信息
     * @return 用户信息集合信息
     */
    public List<CompanyInfo> getSearchResult(CompanyInfo companyInfo);


    /**
     * 根据userID 查询单条数据。
     */
    public CompanyInfo selectRegisterUserByID(long userid);

    /**
     * 查询所有注册用户
     */
    public int selectAllRegisterUserCount();
    /**
     *
     * 查询今日新增用户
     */
    public List<InstitutionInfo> selectRegisterUserByDay();

    /**
     *
     * 查询本周新增用户
     */
    public List<InstitutionInfo> selectRegisterUserByWeek();


    /**
     *
     * 查询七日新增用户
     */
    public List<InstitutionInfo> selectSevenDaysUsers();

    /**
     *
     * 查询本月新增用户
     */
    public List<InstitutionInfo> selectRegisterUserByMonth();

    /**
     *
     * 查询三十日新增用户
     */
    public List<InstitutionInfo> selectThirtyDaysUsers();

    /**
     *
     * 查询本季度新增用户
     */
    public List<InstitutionInfo> selectRegisterUserByQuarter();


    /**
     *
     * 查询本年度新增用户
     */
    public List<InstitutionInfo> selectRegisterUserByYear();


    public int deleteByPrimaryKey(int ids) throws Exception;

    public int insert(InstitutionInfo ids) throws Exception;

    public int updateByPrimaryKeySelective(InstitutionInfo institutionInfo);

}
